package com.hs.sfzy.service;

import com.hs.sfzy.entity.ClassAnswer;

import java.util.List;

public interface ClassAnswerService {
    //根据问题id查询所有回答
    List<ClassAnswer> getClassAnswerByQuestionId(Integer questionId);
    //根据用户id查询用户所有回答
    List<ClassAnswer> getClassAnswerByUserId(Integer userId);
    //添加回答
    Integer addClassAnswer(ClassAnswer classAnswer);
}
